<?php
/* @var $this FileController */
/* @var $data File */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('file_id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->file_id), array('view', 'id'=>$data->file_id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('file_type')); ?>:</b>
	<?php echo CHtml::encode(FileType::model()->getTypeName($data->file_type)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('file_name')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->file_name), array('download', 'file_id'=>$data->file_id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('file_path')); ?>:</b>
	<?php echo CHtml::encode($data->file_path); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('file_addtime')); ?>:</b>
	<?php echo CHtml::encode(date("Y-m-d",$data->file_addtime)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('file_size')); ?>:</b>
	<?php echo CHtml::encode($data->file_size); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('file_info')); ?>:</b>
	<?php echo CHtml::encode($data->file_info); ?>
	<br />

	<?php /*
	<b><?php echo CHtml::encode($data->getAttributeLabel('file_desc')); ?>:</b>
	<?php echo CHtml::encode($data->file_desc); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('download_times')); ?>:</b>
	<?php echo CHtml::encode($data->download_times); ?>
	<br />

	*/ ?>

</div>